package com.senno.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.senno.entity.Employee;
import com.senno.mapper.EmployeeMapper;
import com.senno.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeServiceImpl extends ServiceImpl<EmployeeMapper, Employee> implements EmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public Employee selectEmployeeByName(String employeeName){
       return employeeMapper.selectEmployeeByName(employeeName);
    }
}
